package com.healthcloud.entity.screening;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 血压筛查
 * @author zhangjie
 */
@Data
public class ScreeningBpEntity {

    private Long id;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "高血压患者 0:否 1:是")
    private Boolean patient = false;

    @ApiModelProperty(value = "血压高值 0:否 1:是")
    private Boolean value = false;

    @ApiModelProperty(value = "超重或肥胖 0:否 1:是")
    private Boolean fat = false;

    @ApiModelProperty(value = "高血压家族 0:否 1:是")
    private Boolean family = false;

    @ApiModelProperty(value = "长期高盐 0:否 1:是")
    private Boolean salt = false;

    @ApiModelProperty(value = "长期过量饮酒 0:否 1:是")
    private Boolean drink = false;

    @ApiModelProperty(value = "年龄大于55 0:否 1:是")
    private Boolean old = false;

    @ApiModelProperty(value = "高压")
    private String highPressure;

    @ApiModelProperty(value = "低压")
    private String lowPressure;

    @ApiModelProperty(value = "筛查时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JSONField(format="yyyy-MM-dd")
    private Date screeningTime;

    @ApiModelProperty(value = "管理级别 1一级管理 2二级管理 3三级管理 (manageType)")
    private Integer level;

    private Date createTime;

    private Date updateTime;

}